package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检测节点对象 mes_detect_node
 * 
 * @author ruoyi
 * @date 2025-02-26
 */
public class MesDetectNode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识 */
    private Long id;

    /** 归属子系统名称 */
    @Excel(name = "归属子系统名称")
    private String subsysName;

    /** 归属子系统编码 */
    @Excel(name = "归属子系统编码")
    private String subsysCode;

    /** 机器型号 */
    @Excel(name = "机器型号")
    private String machineModel;

    /** 机器型号 */
    @Excel(name = "机器型号")
    private String machineCode;

    /** 站位编码 */
    @Excel(name = "站位编码")
    private String nodeCode;

    /** 备份站位编码 */
    @Excel(name = "备份站位编码")
    private String backupCode;

    /** 节点顺序 */
    @Excel(name = "节点顺序")
    private Long sortIndex;

    /** 节点PLC IP */
    @Excel(name = "节点PLC IP")
    private String ip;
    /** 节点IP */
    @Excel(name = "节点IPC IP")
    private String ipcIp;

    /** 检测内容 */
    @Excel(name = "检测内容")
    private String workDetail;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getSubsysName() {
        return subsysName;
    }

    public void setSubsysName(String subsysName) {
        this.subsysName = subsysName;
    }

    public String getSubsysCode() { return subsysCode; }

    public void setSubsysCode(String subsysCode) { this.subsysCode = subsysCode; }

    public void setMachineModel(String machineModel)
    {
        this.machineModel = machineModel;
    }

    public String getMachineModel() 
    {
        return machineModel;
    }
    public void setMachineCode(String machineCode) 
    {
        this.machineCode = machineCode;
    }

    public String getMachineCode() 
    {
        return machineCode;
    }
    public void setNodeCode(String nodeCode) 
    {
        this.nodeCode = nodeCode;
    }

    public String getNodeCode() 
    {
        return nodeCode;
    }
    public void setSortIndex(Long sortIndex) 
    {
        this.sortIndex = sortIndex;
    }

    public Long getSortIndex() 
    {
        return sortIndex;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setWorkDetail(String workDetail) 
    {
        this.workDetail = workDetail;
    }

    public String getIpcIp() { return ipcIp; }

    public void setIpcIp(String ipcIp) { this.ipcIp = ipcIp; }

    public String getWorkDetail()
    {
        return workDetail;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subsysCode", getSubsysCode())
            .append("subsysName", getSubsysName())
            .append("machineModel", getMachineModel())
            .append("machineCode", getMachineCode())
            .append("nodeCode", getNodeCode())
            .append("sortIndex", getSortIndex())
            .append("ip", getIp())
            .append("ipcIp", getIpcIp())
            .append("workDetail", getWorkDetail())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
